package com.rightsidetech.activity.mapper;

import com.rightsidetech.activity.dto.request.ride.ActRideCountReq;
import com.rightsidetech.activity.dto.request.ride.ActRidePageReq;
import com.rightsidetech.activity.dto.response.ActRideCountResp;
import com.rightsidetech.activity.dto.response.AgentRideResp;
import com.rightsidetech.activity.dto.response.RideActivityResp;
import com.rightsidetech.activity.entity.ActRideActivity;

import java.util.List;

public interface ActRideActivityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ActRideActivity record);

    int insertSelective(ActRideActivity record);

    ActRideActivity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ActRideActivity record);

    int updateByPrimaryKey(ActRideActivity record);

    List<AgentRideResp> selectAgentPage(Long agentInfoId);

    List<RideActivityResp> selectPageList(ActRidePageReq req);

    Long selectMoonCount(Long agentInfoId);

    List<ActRideCountResp> selectCountPage(ActRideCountReq req);
}